package tss.client;

import tss.common.LineStates;
import tss.common.ExtensionStates;

public interface ClientInterface {
		
	// returns extension number
	public int connectServer(String server, int port);

	public void disconnectServer(int extension);
	
	// Returns connection states 1-16
	public ExtensionStates[] getExtensionStates();
	
	// dialout to separate connection, returns if dial sent correctly
	public boolean dialConnection(int extension);
	
	// accept connection
	public boolean acceptConnection();
	
	// returns state of line
	public LineStates getLineState();
	
	// terminate connection
	public boolean terminateConnection();

}
